/*
  Name: DeadProxyLoginServer.h
  Copyright: 
  Author: Carl Chatfield
  Date: 09/01/08 11:56
  Description: Proxy login server which accepts connections from clients.
*/


#ifndef __DEADPROXYLOGINSERVER_h__
#define __DEADPROXYLOGINSERVER_h__

#ifdef __BORLANDC__
	#pragma hdrstop
#endif

#ifndef WX_PRECOMP
	#include <wx/wx.h>
#else
	#include <wx/wxprec.h>
#endif

#include <windows.h>
#include <winsock.h>
#include "DeadProxyLoginThread.h"
#include "DeadProxyPacketBuffer.h"

class LoginServer : public wxThread
{
    public:
        // thread execution starts here
        virtual void * Entry();

        // called when the thread exits - whether it terminates normally or is
        // stopped with Delete() (but not when it is Kill()ed!)
        virtual void OnExit();

        LoginServer();
};

#endif
